package com.ebao.po.user;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ebao.constants.UserType;

/**
 * @desc 用户/医生注册申请
 * @author snow
 * @date 2012-7-17
 */
@Entity
@Table(name = "T_User_Register")
public class TUserRegister implements Serializable {

	private static final long serialVersionUID = 1568199505689243130L;
	
	private Long id;
	private String userName; 	// 用户名
	private String email; 		// 邮箱
	private String introduction;// 简介
	private UserType userType;	// 用户类型,用户/医生
	private Integer status;		// null未审核,0审核不通过,1审核通过
	private String registerDate;// 申请日期

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	@Column(length = 1)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(length = 19)
	public String getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

}
